<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Global Industrial Manufacturing Solution Expert</title>
    <link rel="stylesheet" href="./skin/css/homepage.css">
    <link rel="stylesheet" href="./skin/css/main.css">
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
    <script src="https://unpkg.com/swiper@8/swiper-bundle.min.js"></script>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <link rel="stylesheet" href="https://unpkg.com/swiper@8/swiper-bundle.min.css" />
    <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
</head>

<body>
    <!-- 头部 -->
    <div id="header-container"></div>
    <script>
        $(function () {
            $("#header-container").load("./common/header.html");
        });
    </script>
    <div id="app">
        <!-- 轮播图 -->
        <section class="banner">
            <div class="container">
                <h1>Global Industrial Manufacturing Solution Expert</h1>
                <p>High-precision Equipment · High-efficiency Services</p>
                <div class="flex justify-center">
                    <button class="btn btn-orange">Get a Quote Now</button>
                </div>
            </div>
        </section>

        <!-- 数据统计 -->
        <section class="stats">
            <div class="container">
                <div class="stats-grid grid grid-cols-4 md-cols-1">
                    <div class="stats-item">
                        <img src="./skin/images/homepage/logo1.png" alt="">
                        <div class="stats-text">Global Partners</div>
                    </div>
                    <div class="stats-item">
                        <img src="./skin/images/homepage/logo2.png" alt="">
                        <div class="stats-text">Industrial Products</div>
                    </div>
                    <div class="stats-item">
                        <img src="./skin/images/homepage/logo3.png" alt="">
                        <div class="stats-text">Years of Experience</div>
                    </div>
                    <div class="stats-item">
                        <img src="./skin/images/homepage/logo4.png" alt="">
                        <div class="stats-text">Professional Support</div>
                    </div>
                </div>
            </div>
        </section>

        <!-- 关于我们 -->
        <section class="about">
            <div class="container">
                <h2 class="section-title">ABOUT US</h2>
                <div class="about-content grid grid-cols-2 md-cols-1">
                    <div class="about-text">
                        <p>Since its establishment in [specific year], Huanggang Industrial Manufacturing Co., Ltd. has
                            always been at the forefront of the industrial manufacturing sector. It is a comprehensive
                            industrial manufacturing enterprise integrating R&D and design, intelligent manufacturing,
                            global marketing, and full-life-cycle services. With decades of industry experience,
                            accumulated technical strength, and a strong brand reputation, it has become a trusted
                            partner for customers both at home and abroad.</p>
                        <button class="btn btn-orange">Explore More</button>
                    </div>
                    <div class="about-image">
                        <img src="./skin/images/homepage/group1.png" alt="About Us">
                    </div>
                </div>
            </div>
        </section>

        <!-- 热门产品 -->
        <section class="products">
            <div class="container">
                <h2 class="section-title">POPULAR PRODUCTS</h2>
                <div class="products-grid grid grid-cols-5 md-cols-2">
                    <div class="product-card" v-for="(product,index) in products" :key="index">
                        <div class="product-image">
                            <img :src="product.image" :alt="product.name">
                        </div>
                        <div class="product-info">
                            <div class="product-name">{{ product.name }}</div>
                            <div class="cart_item">
                                <div class="product-price">{{ product.price }}</div>
                                <img src="./skin/images/homepage/cart.png" alt="">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- 服务优势 -->
        <section class="services">
            <div class="container">
                <h2 class="section-title">SERVICE ADVANTAGE</h2>
                <div class="services-grid grid grid-cols-3 md-cols-1">
                    <div class="service-card">
                        <div class="service-title">SOURCE MANUFACTURER</div>
                        <button class="btn btn-orange">SEE MORE</button>
                    </div>
                    <div class="service-card">
                        <div class="service-title">NON-STANDARD CUSTOMIZATION</div>
                        <button class="btn btn-orange">SEE MORE</button>
                    </div>
                    <div class="service-card">
                        <div class="service-title">SPOT SUPPLY</div>
                        <button class="btn btn-orange">SEE MORE</button>
                    </div>
                </div>
            </div>
        </section>

        <!-- 团队介绍 -->
        <section class="team">
            <div class="container">
                <h2 class="section-title">OUR TEAM</h2>
                <div class="team-image">
                    <img src="./skin/images/homepage/team.png" alt="Our Team">
                </div>
                <div class="team-text">
                    <p>A dedicated industrial manufacturing team excels in precision, optimization, and quality.
                        Collaborating to turn designs into products, they ensure efficiency, safety, and adherence to
                        standards—agile, solution-focused, and committed to meeting deadlines.</p>
                </div>
            </div>
        </section>

        <!-- 客户评价 -->
        <!-- <section class="reviews">
            <div class="container">
                <h2 class="section-title">CUSTOMER REVIEWS</h2>
                <div class="reviews-slider">
                    <div class="review-card" v-for="review in reviews" :key="review.id">
                        <div class="review-header">
                            <div class="review-avatar">
                                <img :src="review.avatar" :alt="review.name">
                            </div>
                            <div>
                                <div class="review-name">{{ review.name }}</div>
                                <div class="review-rating">
                                    <span v-for="i in 5" :key="i">
                                        <i class="fa fa-star" :class="{ 'text-gray-300': i > review.rating }"></i>
                                    </span>
                                </div>
                            </div>
                        </div>
                        <div class="review-content">{{ review.content }}</div>
                    </div>
                </div>
            </div>
        </section> -->
        <!-- 新闻动态 -->
        <div class="news-container">
            <h2>NEWS</h2>
            <div class="news-list">
                <!-- 循环渲染新闻条目，可根据实际接口数据调整 -->
                <div class="news-item" v-for="(item, index) in newsList" :key="index">
                    <img :src="item.image" alt="news-image">
                    <div class="news-content">
                        <h3>{{ item.title }}</h3>
                        <p>{{ item.preview }}</p>
                        <span class="date">{{ item.date }}</span>
                        <a href="javascript:;" class="news-link">News</a>
                    </div>
                </div>
            </div>
            <div class="more-btn">
                <a href="javascript:;">More >></a>
            </div>
        </div>
    </div>

    <script>
        // 初始化Vue实例
        new Vue({
            el: '#app',
            data: {
                products: [
                    { id: 1, name: 'Cordless Drill Set', price: '$450.00', image: './skin/images/homepage/product1.png' },
                    { id: 2, name: 'Industrial Barcode Reader', price: '$650.00', image: './skin/images/homepage/product2.png' },
                    { id: 3, name: 'Industrial Tablet', price: '$200.00', image: './skin/images/homepage/product3.png' },
                    { id: 4, name: 'Hydraulic Pump (Disassembly)', price: '$2500.00', image: './skin/images/homepage/product4.png' },
                    { id: 5, name: 'Hydraulic Pump (Assembly)', price: '$450.00', image: './skin/images/homepage/product5.png' },
                    { id: 6, name: 'Turbocharger', price: '$450.00', image: './skin/images/homepage/product6.png' },
                    { id: 7, name: 'Desktop-level Multifunctional 3D Printing Robotic Arm', price: '$950.00', image: './skin/images/homepage/product7.png' },
                    { id: 8, name: 'Helical Gear', price: '$300.00', image: './skin/images/homepage/product8.png' },
                    { id: 9, name: 'Three-phase Asynchronous Motor', price: '$999.00', image: './skin/images/homepage/product9.png' },
                    { id: 10, name: 'Industrial Caster', price: '$450.00', image: './skin/images/homepage/product10.png' }
                ],
                newsList: [
                    {
                        id: 1,
                        title: 'New Platform Connects Industrial Manufacturers with Global Markets',
                        date: 'July 15, 2025',
                        preview: 'A new cross - border e - commerce platform, "GlobalMFGLink", has recently been launched, aiming to revolutionize the way industrial manufacturers engage in international trade. This platform serves as a one - stop solution, connecting manufacturers from eme...',
                        image: './skin/images/homepage/new1.png'
                    },
                    {
                        id: 2,
                        title: 'New Platform Connects Industrial Manufacturers with Global Markets',
                        date: 'June 28, 2025',
                        preview: 'A new cross - border e - commerce platform, "GlobalMFGLink", has recently been launched, aiming to revolutionize the way industrial manufacturers engage in international trade. This platform serves as a one - stop solution, connecting manufacturers from eme...',
                        image: './skin/images/homepage/news2.png'
                    },
                    {
                        id: 3,
                        title: 'Company Wins Industry Excellence Award',
                        date: 'May 10, 2025',
                        preview: 'A new cross - border e - commerce platform, "GlobalMFGLink", has recently been launched, aiming to revolutionize the way industrial manufacturers engage in international trade. This platform serves as a one - stop solution, connecting manufacturers from eme...',
                        image: './skin/images/homepage/news3.png'
                    }
                ]
            },
            mounted() {
                // 实现轮播图自动轮播功能
                this.initCarousel();
                // 实现滚动导航效果
                this.initScrollEffects();
            },
            methods: {
                initCarousel() {
                    // 这里可以实现轮播图自动切换逻辑
                    console.log('Carousel initialized');
                },
                initScrollEffects() {
                    // 这里可以实现滚动时导航栏样式变化等效果
                    console.log('Scroll effects initialized');
                }
            }
        });
    </script>
    <!-- 脚页 -->
    <div id="footer-container"></div>
    <script>
        $(function () {
            $("#footer-container").load("./common/footer.html");
        });
    </script>
</body>

</html>